package edu.hnzj.dao;

import java.util.List;

import edu.hnzj.entity.Commodity;

public interface CommodityDao {
	public List<Commodity> findAll();
	public void save(Commodity com);
	public int delete(int id);
	public int update(Commodity com);
	public List<Commodity> findById(int i);
	public List<Commodity> findByNames(String name);


}
